package cep.model.dao;

import cep.model.entity.core.*;

import java.util.Date;
import java.util.List;

/**
 * User: golovin
 * Date: 17.06.13
 * Time: 22:51
 */
public interface CoreDao {
    public List<Office> getOffices();
    public Person getPerson(int id);
    public Department getHeadDepartment();
    public List<Absence> getAbsencesByDate(Date startDate, Date endDate);
    public List<Absence> getAbsencesByPerson(int id);
}
